export class DeptDto {
    public deptId!: number;
    public typeName!: string;
    public parentId!: number;
    public deptName!: string;
    public code?: string;

    public orderNum?: string;
    public leader?: string;
    public phoneNumber?: string;
    public email?: string;
    public enabled!: boolean;
    public createTime?: Date;

    public children?: DeptDto[];

    // 非后端传入，构建树形Table使用
    public level?: number;
    expand?: boolean;
    public parent?: DeptDto;

    public isLeaf = false;
}